package com.pay.game.central.web.mapper;

import org.apache.ibatis.annotations.Delete;

public interface ClearDataMapper {

    @Delete("delete from pdd_store where user_id = '' or user_id is null")
    void clearStore();

    @Delete("delete from pdd_goods where store_id in " +
            "(" +
            "   select id from pdd_store where user_id = '' or user_id is null " +
            ")")
    void clearGoods();
}
